import { request } from '@/utils'
import qs from 'qs'

export const getDictionariesListApi = () => {
  return request.get('/dictionaries/getDictionariesList')
}

export const getDictionariesValueListAp = (dictionariesCode) => {
  return request.get(
    '/dictionaries/getDictionariesValueList',
    qs.stringify({ dictionariesCode: dictionariesCode })
  )
}
